home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000000_news@columbia.edu _Sun Oct 6 16:34:10 1996.msg next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id QAA12823 for <kermit.misc@watsun.cc.columbia.edu>; Sun, 6 Oct 1996 16:34:09 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id QAA08164 for kermit.misc@watsun; Sun, 6 Oct 1996 16:34:07 -0400 (EDT)
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!news.sgi.com!howland.erols.net!EU.net!Ireland.EU.net!login.ieunet.ie!ebairead
  5. From: ebairead@login.ieunet.ie (Eoin Bairead)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: C-KERMIT on VAX/VMS - what am I doing wrong ???
  8. Date: 6 Oct 1996 20:25:16 GMT
  9. Organization: EUnet Ireland customer
  10. Lines: 44
  11. Message-ID: <5394jc$qc2@ezekiel.ieunet.ie>
  12. NNTP-Posting-Host: login.ieunet.ie
  13. X-Newsreader: TIN [version 1.2 PL2]
  14.  
  15. I've put C-Kermit on a VAX running VMS, to replace Kermit-32,
  16. and I want to write a simple script to login to a unix box, and
  17. transfer a file.
  18.  
  19. So I define CKERMIT as a foreign command and I go:
  20. $ CKERMIT
  21.  
  22. C-Kermit>set line ker$comm
  23. C-Kermit>out \13
  24. C-Kermit>input 5 login:
  25. C-Kermit>out username\13
  26. C-Kermit>input 5 Password:
  27. C-Kermit>out secret\13
  28. C-Kermit>input 5 $
  29. C-Kermit>out ckermit -x\13
  30. C-Kermit>send myfile.dat
  31. C-Kermit>finish
  32. C-Kermit>out exit\13
  33.  
  34. and that works fine.
  35.  
  36. so I put the above lines in a file - XFILE.INI
  37. set line ker$comm
  38. out \13
  39. input 5 login:
  40. out username\13
  41. input 5 Password:
  42. out secret\13
  43. input 5 $
  44. out ckermit -x\13
  45. send myfile.dat
  46. finish
  47. out exit\13
  48.  
  49. and I go:
  50. $ CKERMIT
  51. C-Kermit>take XFILE.ini
  52.  
  53. and it falls over - it doesn't seem to want to OUTPUT anything
  54. and I get "invalid password" messages.
  55.  
  56. Am I doing anything wrong ????
  57.  
  58. Eoin